package com.luanye.enjoy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.luanye.enjoy.entity.Activity;
import com.luanye.enjoy.vo.ActivityVo;
import com.luanye.enjoy.vo.RespBean;

import java.util.List;


public interface ActivityService extends IService<Activity> {

    RespBean getIndex(String openid);

    RespBean getDetail(Long id, String openid);

    RespBean create(Activity activity, String openid);

    RespBean delete(Long id, String openid);

    RespBean search(String keyword);

    RespBean join(Long id, String openid);

    RespBean exit(Long id, String openid);

    List<ActivityVo> getByTribeId(Integer tribeId);
}
